package com.glacier.framework.component.dal.dataobject;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * date 2023-12-27 09:08
 *
 * @author glacier
 * @version 1.0
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public abstract class BaseDo implements Serializable {
    @Serial
    private static final long serialVersionUID = 17803546008313297L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 创建人
     */
    private Long createBy;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    private Long updateBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 逻辑删除
     */
    private String deleted;

}
